<div class='sideDeal clearfix'><div class='column'><?php
	if($data->imageBin)
		echo CHtml::link(
			CHtml::image(app()->storage->bin($data->imageBin)->getFileUrl('original'),$data->name,
				array('style' => 'width: 80px')),
					url('/deal/view',array('url'=>$data->url))
		);
	else
		echo CHtml::link($this->t('View'),url('/deal/view',array('url'=>$data->url)), array(
			'class' => 'viewLink'
		));
	?></div><?php	
	echo CHtml::link($data->name,url('/deal/view',array('url'=>$data->url)));
?></div>